* babl/babl-fish-path.c: Use the default babl tolerance level if
BABL_TOLERANCE is the empty string so that we don't get a
tolerance level of 0.0 in that case.
svn path=/trunk/; revision=357
+2008-11-16 Martin Nordholts <martinn@svn.gnome.org>
+
+ * babl/babl-fish-path.c: Use the default babl tolerance level if
+ BABL_TOLERANCE is the empty string so that we don't get a
+ tolerance level of 0.0 in that case.
+
2008-11-16 Martin Nordholts <martinn@svn.gnome.org>
* babl/babl.h: Add #define BABL_ALPHA_THRESHOLD which is the alpha
return error;
env = getenv ("BABL_TOLERANCE");
- if (env)
+ if (env && env[0] != '\0')
error = atof (env);
else
error = BABL_LEGAL_ERROR;